package cn.iocoder.an.module.mold.controller.admin.drawingnobom.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 模具图号BOM新增/修改 Request VO")
@Data
public class DrawingNoBomSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "3128")
    private Long id;

    @Schema(description = "父主键", example = "10063")
    private Long pid;

    @Schema(description = "图号Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7259")
    @NotNull(message = "图号Id不能为空")
    private Long drawingNoId;

    @Schema(description = "编号")
    private String code;

    @Schema(description = "名称", example = "王五")
    private String name;

    @Schema(description = "模具名", example = "芋艿")
    private String accountName;

    @Schema(description = "模具编码")
    private String accountCode;

    @Schema(description = "描述/备注", example = "随便")
    private String description;

    @Schema(description = "启用状态", example = "2")
    private Boolean status;

}